import BaseEnumValue from '@/core/utils/BaseEnumValue'
import BaseEnum from '@/core/utils/BaseEnum'

class EasyCaptchaTypeEnum extends BaseEnum<string> {
	DEFAULT_CAPTCHA = new BaseEnumValue<string>('DEFAULT_CAPTCHA', '标准验证码')
	ARITHMETIC_CAPTCHA = new BaseEnumValue<string>('ARITHMETIC_CAPTCHA', '算术验证码')
	CHINESE_CAPTCHA = new BaseEnumValue<string>('CHINESE_CAPTCHA', '中文验证码')

	constructor() {
		super(['DEFAULT_CAPTCHA', 'ARITHMETIC_CAPTCHA', 'CHINESE_CAPTCHA'])
	}
}

const enumModel = new EasyCaptchaTypeEnum()

export default enumModel
